"""
Lesson 35
"""
"""
try: # Dasturni kiritiladi
    pass
exception: # xatolikda ishlaydi
    pass
finally: # har qanday xolatda ishlaydi
    pass

while True:
    try:
        num = int(input('Raqamni kiritish: '))
        print(f'100/{num} = {100/num}')
        break
    except ZeroDivisionError:
        print('Raqam 0 dan katta bo\'lishi kerak')
    except ValueError:
        print('Siz raqam kiritmadingiz.')
"""

while True:
    try:
        num = int(input('Raqamni kirritish: '))
        print(f'100/{num} = {100/num}')
        break
    except Exeption:
        print('Raqam 0 dan katta bo\'lishi kerak: ')
